export const mutations = {
  setAdminInfo(state, v) {
    localStorage.setItem('adminInfo', JSON.stringify(v));//将传递的数据先保存到localStorage中
    state.adminInfo = v;// 之后才是修改state中的状态
  },
}